const tokenKey = "token";

export const setToken = (token): void => {
  window.localStorage.setItem(tokenKey, token);
};

export const getToken = (): string | null => {
  return window.localStorage.getItem(tokenKey);
};

export const removeToken = (): void => {
  window.localStorage.removeItem(tokenKey);
};
